package com.mycode;


import java.io.IOException;
import java.io.ObjectOutputStream;
import java.io.OutputStream;

/**
 * @author shkstart
 * @create 2021-01-21 16:31
 */
public class MyObjectOutputStream_2 extends ObjectOutputStream {
    public MyObjectOutputStream_2(OutputStream fileOutputStream) throws IOException {

        super(fileOutputStream);

    }


    @Override
    protected void writeStreamHeader() throws IOException {
        this.reset();
    }
}
